package cn.itcast.extends_;

/**
 * @title: Extends01
 * @Author Zhou
 * @Date: 2022/1/21 13:52
 * @Version 1.0
 */
public class Extends01 {
    public static void main(String[] args) {
        Pupil xxs = new Pupil();
        xxs.name = "小明";
        xxs.age = 30;
        xxs.setScore(40);
        xxs.showInfo();
        Graduates graduates = new Graduates();
        graduates.name = "Mike";
        graduates.age = 20;
        graduates.setScore(50);
        graduates.showInfo();
    }
}
